import java.util.Random;

public class Test2 {
    public static void main(String[] args) {
        Random random=new Random();
        System.out.println("20-30之间的5个随机数为：");
        for (int i = 0; i < 5; i++) {
            int n=20+random.nextInt(11);
            System.out.println(n);
        }
    }
}
